package com.check.checksamejourney.bean;

/**
 * 搜索类
 */
public class Search {

    /**
     * 日期
     */
    private String date;

    /**
     * 地区
     */
    private String region;

    /**
     * 交通类型
     */
    private Integer type;

    /**
     * 场所
     */
    private String site;

    /**
     * 条数
     */
    private Integer limit;

    /**
     * 跳过
     */
    private Integer offset;

    private Integer page;

    private Integer pageSize;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }


    @Override
    public String toString() {
        return "Search{" +
                "date='" + date + '\'' +
                ", region='" + region + '\'' +
                ", type=" + type +
                ", site='" + site + '\'' +
                ", limit=" + limit +
                ", offset=" + offset +
                '}';
    }
}
